query search($query:String,$page:Int,$size:Int){
  model:${model.methodName}(query: $query,page:{page: $page,size: $size}){
    number,
    numberOfElements,
    totalPages,
    totalElements,
    content{
      ... on ${model.dtoType}{
        <#list model.fields as field>
        ${field.name},
        </#list>
      }
    }
  }
}